package com.liang.service.impl;

import java.util.List;

import com.liang.dao.GirlFriendDao;
import com.liang.pojo.GirlFriend;
import com.liang.service.GirlFriendService;

public class GirlFriendServiceImpl implements GirlFriendService{
	private GirlFriendDao girlFriendDao;
	public void setGirlFriendDao(GirlFriendDao girlFriendDao) {
		this.girlFriendDao=girlFriendDao;
	}
	
	
	public List<GirlFriend> selectGirlFriendList() {
		return girlFriendDao.selectGirlFriendList();
	}
	public GirlFriend selectGirlFriendByid(int gid) {
		return girlFriendDao.selectGirlFriendByid(gid);
	}
	public int insertGirlFriend(GirlFriend GirlFriend) {
		return girlFriendDao.insertGirlFriend(GirlFriend);
	}
	public int updateGirlFriend(GirlFriend GirlFriend) {
		return girlFriendDao.updateGirlFriend(GirlFriend);
	}
	public int deleteGirlFriend(int gid) {
		return girlFriendDao.deleteGirlFriend(gid);
	}

}
